package com.yixing.tech.entity.service;

import com.yixing.tech.common.base.BusinessException;
import com.yixing.tech.common.base.IBaseService;
import com.yixing.tech.common.vo.s5.ActionVO;
import com.yixing.tech.common.vo.s5.EventVO;
import com.yixing.tech.common.vo.s5.ObjModelVO;

import java.util.List;

/**
 * @author yixing tech
 * at 2022/2/10
 * describe：
 */
public interface IObjModelService extends IBaseService<ObjModelVO, ObjModelVO> {

    public void insertAction(ActionVO actionVO)throws BusinessException;
    public void insertEvent(EventVO eventVO)throws BusinessException;

    /**
     * 产品行为列表
     * @param productId
     * @return
     * @throws BusinessException
     */
    public List<ActionVO> getActions(String productId)throws BusinessException;
    /**
     * 产品行为
     * @param productId
     * @return
     * @throws BusinessException
     */
    public ActionVO getAction(String productId, String funCode, String code)throws BusinessException;
}
